package com.crwal.app.bean;

import java.util.List;
import java.util.Map;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;


@Configuration
@ConfigurationProperties(prefix = "crwal")
public class CrwalUrl {
	
	public static List<Map<String, String>> list;   //static 才能拿配置值
	public static String tempLocDirectory;

	public static List<Map<String, String>> getList() {
		return list;
	}

	public void setList(List<Map<String, String>> list) {
		CrwalUrl.list = list;
	}

	public static String getTempLocDirectory() {
		return tempLocDirectory;
	}

	public void setTempLocDirectory(String tempLocDirectory) {
		CrwalUrl.tempLocDirectory = tempLocDirectory;
	}

	
	
}
